package util;

import java.text.SimpleDateFormat;

/**
 * User: key
 * ClassName:DateUtils
 * Date: 2023/5/5
 * Time: 18:51
 * description:
 */
public class DateUtils {
    public static java.util.Date sqlToUtil(java.sql.Date date){
        return new java.util.Date(date.getTime());
    }
    public static java.sql.Date utilToSql(java.util.Date date){
        return new java.sql.Date(date.getTime());
    }
}
